/**
  ******************************************************************************
  * @file    Libraries/Device/TS32Fx/TS32Fx_LL_Driver/src/ts32fx_ll_sysctrl.c
  * @author  TOPSYS Application Team
  * @version V1.0.0
  * @date    02-11-2018
  * @brief   This file contains all the SYSCTRL LL firmware functions.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; COPYRIGHT 2018 TOPSYS</center></h2>
  *
  *
  *
  ******************************************************************************
  */ 

/* Includes ------------------------------------------------------------------*/
#include "include.h"

/** @addtogroup TS32Fx_StdPeriph_Driver TS32Fx Driver
  * @{
  */
  
/** @defgroup sysctrl_interface_gr SYSCTRL Driver
  * @ingroup  TS32Fx_StdPeriph_Driver
  * @{
  */

/** @addtogroup SYSCTRL_LL_Driver SYSCTRL LL Driver
  * @ingroup  sysctrl_interface_gr
  * @{
  */
  
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/

  
/** @defgroup SYSCTRL_LL_Interrupt SYSCTRL LL Interrupt Handle function
  * @ingroup  SYSCTRL_LL_Driver
  * @brief   SYSCTRL LL Interrupt Handle function
  * @{
  */



/**
  * @}
  */

/** @defgroup SYSCTRL_LL_Inti_Cfg SYSCTRL LL Initialization And Configuration
  * @ingroup  SYSCTRL_LL_Driver
  * @brief    SYSCTRL LL Initialization And Configuration
  * @{
  */



/**
  * @}
  */

/** @defgroup SYSCTRL_LL_Data_Transfers SYSCTRL LL Data transfers functions
  * @ingroup  SYSCTRL_LL_Driver
  * @brief    SYSCTRL LL Data transfers functions 
  * @{
  */

/**
  * @brief swd disable 
  * @param None  
  * @note  if need using SWD pin as gpio, you need call this function to disable swd
  * @retval None  
  */
void swd_disable(void)
{
    SYSCTRL_REG_OPT(
    SYSCTRL->SYS_CON1 &= (~LL_SYSCTRL_CON1_SWD_EN);
        );
}

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/*************************** (C) COPYRIGHT 2018 TOPSYS ***** END OF FILE *****/
